home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / Utilities / Converters / Convert_PICT / Testing / hex_tests / arcs=sames.hex < prev    next >
Text File  |  1995-06-12  |  3KB  |  67 lines

  1. % header
  2. 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
  3. % end of app-specific header
  4. 00FF 0000 0000 00FF 00FF    % pict size (bogus) and top left bottom right
  5. 11 01                        % verson
  6. 01 000A 0000 0000 00FF 00FF    % Clip region.  Added to keep Mac tester happy.
  7. 30 0000 0000 00FF 00FF        % draw bounding rect
  8.  
  9. 02 AA AA AA AA AA AA AA AA % fill pat
  10. 09 FF FF FF FF FF FF FF FF % pn pat
  11. 0A AA 55 AA 55 AA 55 AA 55 % back pat
  12.  
  13. % draw A grid to draw rectangles in
  14. 20 0010 0000 0010 00FF
  15. 20 0000 0010 00FF 0010
  16. 20 0050 0000 0050 00FF
  17. 20 0000 0050 00FF 0050
  18.  
  19. 20 0000 0080 00FF 0080
  20. 20 0000 00C0 00FF 00C0
  21.  
  22. 20 0080 0000 0080 00FF
  23. 20 00C0 0000 00C0 00FF
  24.  
  25. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  26. %
  27. %    This test expands upon the basic test of four arcs
  28. %    on the screen.  It does this by framing one of them in
  29. %    black, and another paints over an erased one.  This, then,
  30. %    demonstrates that two of the ...samearc work as they should
  31. %    We also frame and paint over the other two arcs.
  32. %
  33. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  34.  
  35. % Frame an arc
  36. 60 0010 0010 0050 0050  0020 00FF
  37.  
  38. % paint over a portion of it's arc
  39. 69  0030 0050
  40.  
  41. % paint an adjacent one
  42. 61 0010 0080 0050 00C0   0020 00FF
  43.  
  44. % fill over part of it
  45. 69 0000 0050
  46.  
  47. % try to invert the painted one (ha ha)
  48. 63 0010 0080 0050 00C0  0020 00FF
  49.  
  50. % erase part of this inverted area.  =)
  51. 6A 0040 0030
  52.  
  53. % fill one below one
  54. 64 0080 0080 00C0 00C0  0070 00B0
  55.  
  56. % Now, frame this arc  (in black)
  57.  
  58. 68 0020 00FF
  59.  
  60. % erase a different one 
  61. 62 0080 0010 00C0 0050  0020 00FF
  62.  
  63. % paint over this one  (thus, making it totally black, rater than bkgnd color)
  64. 69 0020 00FF
  65.  
  66. FF    % end
  67.